package cn.zhentao.controller;

import cn.zhentao.interfaceConfig.FeignService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class FeignController {
    @Resource
    FeignService feignService;
    @GetMapping("/feign")
    public String testFeign(){
        return "feign update success:"+this.feignService.hello();
    }
}